<template>
  <div>
    <div v-if="WWData">
    <div v-if="formData.T_EBACKUP_APPLY" align="center">
          <div style="width: 660px" align="left">
            <!-- <div
            v-if="false"
            id="vpnEdizgBill_divInternetLsh"
            style="
              float: right;
              color: #24568f;
              padding: 30px 20px 0 0;
              font-size: 14px;
            "
          >
            关联单号：<span
              id="vpnEdizgBill_internetGLDH"
              class="textlable"
              readonly="True"
              ></span
            >
          </div> -->
            <div style="clear: both"></div>
          </div>
          <table
            align="center"
            style="margin: 0 auto"
            width="650px"
            border="0"
            cellspacing="0"
            cellpadding="0"
          >
            <tbody>
              <tr>
                <td align="center" class="bt" style="font-family: 方正姚体">
                  上海关区金二加工贸易账册数据交换接口开通申请表
                </td>
              </tr>
            </tbody>
          </table>

          <!-- <table width="650px" style="margin: 0 auto;margin-top: 20px;" border="0" cellspacing="0" cellpadding="8px">
        <tbody><tr>
            <td align="left">名称:
                <span id="vpnApply_XMMC" class="textlable" readonly="True" style="display:inline-block;width:260px;">VPN接入申请</span>
            </td>
            <td align="right">日期:
                <span id="vpnApply_APPLYTIME" class="textlable" readonly="True" style="display:inline-block;width:120px;"></span>
            </td>
        </tr>
    </tbody></table> -->
          <table
            width="645px"
            style="margin: 0 auto"
            border="0"
            cellspacing="0"
            cellpadding="0"
          >
            <tbody>
              <tr>
                <td class="k00">
                  <table
                    width="100%"
                    border="0"
                    cellspacing="0"
                    cellpadding="8px"
                  >
                    <tbody>
                      <tr>
                        <td class="k01">
                          <table
                            width="100%"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="90px">企业名称:</td>
                                <td>
                                  <span
                                    id="vpnApply_AZDD"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 100%"
                                  >{{ WWData.QYMC }}</span>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                        <td class="k01">
                          <table
                            width="100%"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="90px">海关十位编码:</td>
                                <td>
                                  <span
                                    id="vpnApply_DH"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 100%"
                                  >{{WWData.HGSWBM}}</span>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                  <table
                    width="100%"
                    border="0"
                    cellspacing="0"
                    cellpadding="8px"
                  >
                    <tbody>
                      <tr>
                        <td class="k01">
                          <table
                            width="304px"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="100px">主管海关代码:</td>
                                <td>
                                  <span
                                    id="vpnApply_DWDZ"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 100%"
                                    >{{WWData.ZGHGDM}}</span
                                  >
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                        <td width="448px" class="k01 kTitle">
                          <table
                            width="100%"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="210px">
                                  统一社会信用代码/组织机构代码:
                                </td>
                                <td>
                                  <span
                                    id="vpnApply_FRDB"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 100%"
                                    >{{WWData.ZZJGDM}}</span
                                  >
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                        
                      </tr>
                    </tbody>
                  </table>
                  <table
                    width="100%"
                    border="0"
                    cellspacing="0"
                    cellpadding="8px"
                  >
                    <tbody>
                      <tr>
                        <td class="k01">
                          <table
                            width="100%"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="90px">电子账册号:</td>
                                <td>
                                  <span
                                    id="vpnApply_AZDD"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 100%"
                                  >{{ WWData.DZZCH }}</span>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                        <td class="k01">
                          <table
                            width="100%"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="90px">IC/I-Key 卡号:</td>
                                <td>
                                  <span
                                    id="vpnApply_DH"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 90%"
                                  >{{ WWData.IKEY }}</span>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                  <table
                    width="100%"
                    border="0"
                    cellspacing="0"
                    cellpadding="8px"
                  >
                    <tbody>
                      <tr>
                        <td class="k01">
                          <table
                            width="100%"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="80px">联系人:</td>
                                <td>
                                  <span
                                    id="vpnApply_AZDD"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 100%"
                                  >{{ WWData.YWLXR }}</span>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                        <td class="k01">
                          <table
                            width="100%"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="80px">联系电话:</td>
                                <td>
                                  <span
                                    id="vpnApply_DH"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 100%"
                                  >{{ WWData.LXDH }}</span>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                  <table
                    width="100%"
                    border="0"
                    cellspacing="0"
                    cellpadding="8px"
                  >
                    <tbody>
                      <tr>
                        <td class="k01">
                          <table
                            width="100%"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="80px">电子邮箱:</td>
                                <td>
                                  <span
                                    id="vpnApply_YWLXR"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 100%"
                                  >{{ WWData.DZYX }}</span>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                        <td class="k01">
                          <table
                            width="100%"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="80px">申请日期:</td>
                                <td>
                                  <span
                                    id="vpnApply_YWSJ"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 100%"
                                  >{{ WWData.SQRQ }}</span>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                  <table
                    width="100%"
                    border="0"
                    cellspacing="0"
                    cellpadding="8px"
                  >
                    <tbody>
                      <tr>
                        <td class="k01">
                          <table
                            width="100%"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="80px">单位地址:</td>
                                <td>
                                  <span
                                    id="vpnApply_YWLXR"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 100%"
                                  >{{WWData.DWDZ}}</span>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                  <table
                    width="100%"
                    border="0"
                    cellspacing="0"
                    cellpadding="8px"
                  >
                    <tbody>
                      <tr>
                        <td class="k01">
                          <table
                            width="100%"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td width="80px">备注:</td>
                                <td>
                                  <span
                                    id="vpnApply_YWLXR"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 100%"
                                  >为保证申报数据的安全，企业申请的电子口岸证书及关联密码服务设备必须确保实际使用者与申请者一致，如需托管密码服务设备及相关证书，托管方需具备相应授权。</span>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                  <table
                    width="100%"
                    border="0"
                    cellspacing="0"
                    cellpadding="8px"
                  >
                    <tbody>
                      <tr>
                        <td valign="top" class="k01">
                          <!-- ● 备注:
                          <textarea
                            name="vpnApply$CSYJ"
                            rows="2"
                            cols="20"
                            readonly="readonly"
                            id="vpnApply_CSYJ"
                            class="textMultiLine"
                            style="width: 98%"
                          ></textarea> -->
                          <table
                            width="100%"
                            border="0"
                            cellspacing="0"
                            cellpadding="0"
                          >
                            <tbody>
                              <tr>
                                <td style="text-align: right">
                                  企业法人（或授权代表）签名：:
                                  <span
                                    id="vpnApply_CSQZ"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 65px"
                                  >{{ WWData.QYFRQM }}</span>
                                  日期:
                                  <span
                                    id="vpnApply_TextBox22"
                                    class="textlable"
                                    readonly="True"
                                    style="display: inline-block; width: 110px"
                                  >{{WWData.QMRQ}}</span>
                                </td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </td>
              </tr>
            </tbody>
          </table>
    </div>
    </div>
    <div v-else>
          <el-empty description="暂无数据"></el-empty>
        </div>
  </div>
</template>

<script>
export default {
  name: "JR",
  props: {
     formData: {
      type: Object,
      required: true,
    },
    record: {
      type: Object,
      required:true
    }
  },
  data() {
    return {
      // 表单一
      WWData: {}, 
      // 基本项目信息
      formRecord: {},
    }
  },
  created() {
      this.init()
    },
  methods: {
    //数据格式转换
    init() {
      this.WWData = this.formData.T_EBACKUP_APPLY
      this.formRecord = this.record
      },
  }
};
</script>

<style lang="scss" scoped>
@import "~@/views/businessModule/historicalData/components/style/table_min.css";
</style>
